﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class Comment
    {
        private int CM_commentId;
        private int CM_userIdFrom;
        private int CM_userIdTo;
        private int CM_photoId;
        private string CM_text;
        private DateTime CM_time;

        public Comment()
        {
        }
        public Comment(int CM_commentId, int CM_userIdFrom, int CM_userIdTo, int CM_photoId, string CM_text,DateTime CM_time)
        {
            this.CM_commentId = CM_commentId;
            this.CM_userIdFrom = CM_userIdFrom;
            this.CM_userIdTo = CM_userIdTo;
            this.CM_photoId = CM_photoId;
            this.CM_text = CM_text;
            this.CM_time = CM_time;
        }
        public int getCM_commentId()
        {
            return this.CM_commentId;
        }
        public void setCM_commentId(int CM_commentId)
        {
            this.CM_commentId = CM_commentId;
        }
        public int getCM_userIdFrom()
        {
            return this.CM_userIdFrom;
        }
        public void setCM_userIdFrom(int CM_userIdFrom)
        {
            this.CM_userIdFrom = CM_userIdFrom;
        }
        public int getCM_userIdTo()
        {
            return this.CM_userIdTo;
        }
        public void setCM_userIdTo(int CM_userIdTo)
        {
            this.CM_userIdTo = CM_userIdTo;
        }
        public int getCM_photoId()
        {
            return this.CM_photoId;
        }
        public void setCM_photoId(int CM_photoId)
        {
            this.CM_photoId = CM_photoId;
        }
        public string getCM_text()
        {
            return this.CM_text;
        }
        public void setCM_text(string CM_text)
        {
            this.CM_text = CM_text;
        }
        public DateTime getCM_time()
        {
            return this.CM_time;
        }
        public void setCM_time(DateTime CM_time)
        {
            this.CM_time = CM_time;
        }

    }
}
